package cn.jingyinghui.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/hello")
public class HelloZhangjiangController {

    @PostMapping
    public String hello(@RequestBody String message) {
        return "Hello" + message;
    }
} 